package com.mdinfo.system.vo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/11/28.
 */
public class RoleVo {

    @Data
    public static class ListQueryVo{
        private Integer roleId;
        private String name;            //名称
        private String description;     //描述
        private Integer orderNum;       //排序
        private String createTime;      //创建时间
        private List<RoleMenuVo> menus = new ArrayList<>(); //权限列表
    }

    @Data
    public static class RoleMenuVo{
        private Integer menuId;
        private String name;
    }

    @Data
    public static class ListAllVo{
        private Integer roleId;
        private String name;
    }
}
